package com.xyht.sca_s.student_manage_system.modules.rxRegistrationChargePayment.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 收费计划学生缴费明细表
 * </p>
 *
 * @author XYHT
 * @since 2024-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("rx_registration_charge_payment_category_divide")
@ApiModel(value="RxRegistrationChargePaymentCategoryDivide对象", description="收费计划学生缴费明细表")
public class RxRegistrationChargePaymentCategoryDivide implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生缴费详情id")
    private String id;

    @ApiModelProperty(value = "支付记录id")
    private String paymentRecordId;

    @ApiModelProperty(value = "计划id")
    private String planId;

    @ApiModelProperty(value = "stu_id")
    private String stuId;

    @ApiModelProperty(value = "分类id")
    private String categoryId;

    @ApiModelProperty(value = "分类详情id")
    private String categoryDetailId;

    @ApiModelProperty(value = "分类详情名称")
    private String categoryDetailName;

    @ApiModelProperty(value = "分类名称")
    private String categoryName;

    @ApiModelProperty(value = "缴费金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "实缴金额")
    private BigDecimal paymentAmount;

    @ApiModelProperty(value = "本项仍需缴金额")
    private BigDecimal needPayAmount;

    @ApiModelProperty(value = "支付时间")
    private Date paymentTime;

    @ApiModelProperty(value = "版本号")
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "是否删除：0：未删除 1：已删除")
    @TableLogic
    private Integer isDeleted;


}
